package com.youzu.chuang;

public class StringTest {

	public static void main(String[] args) {
		String ab="AB";
		String a="A";
		String b="B";
		String c="A"+"B";
		System.out.println(ab==c);//true
		System.out.println(ab==a+b);//false
		c = a + b + "1";
		System.out.println(a + b + "1");
		System.out.println(ab == c);
	}

}
